<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
	<%
		pageContext.setAttribute("ctp",request.getContextPath());
	%>
	<link rel="stylesheet" href="${ctp}/support/bootstrap-3.3.7-dist/css/bootstrap.min.css">
	<script src="${ctp}/support/jquery.js"></script>
	<script type="text/javascript" src="${ctp}/support/bootstrap-3.3.7-dist/js/bootstrap.min.js"></script>
	<style>
		.bac_color{
			background-color: #2EBAED;
		}
	</style>
</head>
<body>
	<nav class="navbar navbar-default bac_color">
	  <div class="container-fluid">
	    <!-- Collect the nav links, forms, and other content for toggling -->
	    <div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
	      <ul class="nav navbar-nav">
	        <li class="active"><a href="#">首 页 <span class="sr-only">(current)</span></a></li>
	        <li><a href="#">员工管理</a></li>
	        <li class="dropdown">
	          <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">下拉组件<span class="caret"></span></a>
	          <ul class="dropdown-menu">
	            <li><a href="#">Action</a></li>
	            <li><a href="#">Another action</a></li>
	            <li><a href="#">Something else here</a></li>
	            <li role="separator" class="divider"></li>
	            <li><a href="#">Separated link</a></li>
	            <li role="separator" class="divider"></li>
	            <li><a href="#">One more separated link</a></li>
	          </ul>
	        </li>
	      </ul>
	      <ul class="nav navbar-nav navbar-right">
	        <li><a href="#">Link</a></li>
	        <li class="dropdown">
	          <a href="#" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false">Dropdown <span class="caret"></span></a>
	          <ul class="dropdown-menu">
	            <li><a href="#">Action</a></li>
	            <li><a href="#">Another action</a></li>
	            <li><a href="#">Something else here</a></li>
	            <li role="separator" class="divider"></li>
	            <li><a href="#">Separated link</a></li>
	          </ul>
	        </li>
	      </ul>
	    </div>
	  </div>
	</nav>
	<script>
	$(".navbar-nav").find("li").each(function(){
		$(this).on('click',function(){
			var $act = $("ul..navbar-nav li.active");
			if($act){
				$act.removeClass("active")
			}
			$(this).addClass("active");
		})
	})
</script>
</body>
</html>